module.exports = {
    createCategoryRules: {
        name: { type: 'string', required: true, message: '请输入分类名称' },
    },
    deleteCategoryRules: {
        id: { required: true, message: '请输入分类id' },
    },
    getCategoryRules: {
        id: { required: true, message: '请输入分类id' },
    },
    updateCategoryRules: {
        name: { type: 'string', required: true, message: '请输入分类名' },
        id: { required: true, message: '请输入分类id' },
    },
}